package cn.sangedon.review.data.mapper;

import cn.sangedon.review.common.domain.data.StockDayInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author dongliangqiong
 * @description 针对表【tb_stock_day_info(k线数据表)】的数据库操作Mapper
 * @createDate 2022-08-25 12:41:41
 * @Entity generator.domain.StockDayInfo
 */
public interface StockDayInfoMapper extends BaseMapper<StockDayInfo> {

    @Select("SELECT trading_date FROM tb_stock_day_info ORDER BY trading_date DESC LIMIT 1")
    String getLatestDate();
}




